// 引入包
const moment = require('moment')

const myMonent = (time = new Date(), type = "YYYY年MM月DD日") => {
    return moment(time).format(type)
}

module.exports = myMonent
